package com.lottery.game.core.modules.service.game;

import com.lottery.game.common.base.service.BaseService;
import com.lottery.game.core.modules.entity.game.GameGame;

public interface GameGameService extends BaseService<GameGame> {
    /**
     * 通过ticket查找当前运行期号
     * @param ticket
     * @return
     */
    GameGame findLastGameIssueByTicketId(Integer ticket);

    /**
     * 查找条件为非空参数
     * @param ticket
     * @return
     */
    GameGame findLastGameIssueByIsNotNullParam(GameGame gameGame);
}
